package com.dog.basics.bean.dto.api.wishwash;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @description: 绑定参数信息
 * @author: He
 * @date: Created in 2021/8/3 9:30
 * @version: 1.0
 * @modified By:
 */
@Data
public class ApiBindingCodeDto {

    /**
     * 设备编码
     */
    @NotBlank(message = "Equipment code cannot be empty")
    @ApiModelProperty(value = "设备编码",dataType = "String")
    private String code;

    /**
     * 设备mac地址
     */
    @NotBlank(message = "Device MAC address cannot be empty")
    @ApiModelProperty(value = "mac地址",dataType = "String")
    @Size(min = 1,max = 50,message = "MAC address length 1-50")
    private String devMac;

}
